package com.sduept.nwld.dataserver.model.countanalyse;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

@Entity
@Table(name="t_count_protect_correct_act")
public class ProtectCorrectAct extends AbstractStatisticsModel{
	@Transient
	public static final int DISPATCHING_MANAGEMENT = 1;

	@Transient
	public static final int MAINTENANCE_SCOPE = 0;
	/**
	 *
	 */
	private static final long serialVersionUID = 3250260566489192148L;

	@Column(name ="plan_value",columnDefinition="FLOAT(8,2)")
	private Float plan;

	@Column(name ="finish_value",columnDefinition="FLOAT(8,2)")
	private Float reality;

	@Column(name ="act_num")
	private Integer actNum;

	@Column(name ="unwanted_act_num")
	private Integer unwantedActNum;

	/**
	 * 单位类型（0：检修单位，1：调管单位）
	 */
	@Column(name ="unit_type")
	private int unitType;

	public Float getPlan() {
		return plan;
	}

	public void setPlan(Float plan) {
		this.plan = plan;
	}

	public Float getReality() {
		return reality;
	}

	public void setReality(Float reality) {
		this.reality = reality;
	}

	public Integer getActNum() {
		return actNum;
	}

	public void setActNum(Integer actNum) {
		this.actNum = actNum;
	}

	public Integer getUnwantedActNum() {
		return unwantedActNum;
	}

	public void setUnwantedActNum(Integer unwantedActNum) {
		this.unwantedActNum = unwantedActNum;
	}

	public int getUnitType() {
		return unitType;
	}

	public void setUnitType(int unitType) {
		this.unitType = unitType;
	}

}
